#ifndef _UN_PARAMFILE
#define _UN_PARAMFILE
int getinitvals(char* filename, double* xinit, int dim, int raw);

typedef struct inppar1 //used in sdglprob1
{
  int dim;            //dimension
  double step;
  double d;
  double a0;
  int force;
  char initfile[128];
  int initraw;
  int savemnum;
  int *savemoments;  
} TInpPar1;


int getparams1(char* filename, TInpPar1* ppar);
int freeparams1(TInpPar1* ppar);

typedef struct inppar2 //used in dde_problem2
{
  int dim;            //dimension
  double step;
  double d;
  double a0;
  int force;
  char initfile[128];
  int initraw;
  int savemnum;
  int *savemoments;  
} TInpPar2;

int getparams2(char* filename, TInpPar2* ppar);
int freeparams2(TInpPar2* ppar);

#endif
